/******************************************************************************中
 * @brief: bsp io
 * @Author:   aple
 * @Date: 2022-12-14 18:06:21
 * @LastEditors: aple
 * @LastEditTime: 2023-03-15 18:21:51
 * @Verision: 1.0.0.0
 ******************************************************************************/

#ifndef __BSP_IO_H
#define __BSP_IO_H

#include "bsp.h"

typedef const struct
{
	GPIO_TypeDef *port;
	uint32_t mode;
	uint32_t pull;
	uint32_t af;
	uint32_t speed;
	uint32_t val_init;
	uint32_t pin;

} gpio_init_cfg_type;

/* 供外部调用的函数声明 */
void bsp_gpio_init(void);

#endif
